package net.towee.model.account;

import java.util.List;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Set of Loginza accounts.
 * @author c58
 */
public interface LoginzaAccountsContainer extends IsSerializable {
	
	LoginzaAccount getAccount(int index);
	
	List<LoginzaAccount> getAccountsList();
	
	int getAccountIndex(LoginzaAccount account);
	
	void addAccount(LoginzaAccount account);
	
	LoginzaAccount addAccount(String identity, String provider);
	
	void removeAccount(int index);
	
	void removeAccount(LoginzaAccount provider);
}
